package com.brainhealth.customer.mapper;

import java.util.List;
import com.brainhealth.customer.domain.CustomerCollect;

/**
 * 会员收藏Mapper接口
 * 
 * @author wolong
 * @date 2023-05-10
 */
public interface CustomerCollectMapper 
{
    /**
     * 查询会员收藏
     * 
     * @param customerCollectId 会员收藏主键
     * @return 会员收藏
     */
    public CustomerCollect selectCustomerCollectByCustomerCollectId(Long customerCollectId);

    /**
     * 查询会员收藏列表
     * 
     * @param customerCollect 会员收藏
     * @return 会员收藏集合
     */
    public List<CustomerCollect> selectCustomerCollectList(CustomerCollect customerCollect);

    /**
     * 新增会员收藏
     * 
     * @param customerCollect 会员收藏
     * @return 结果
     */
    public int insertCustomerCollect(CustomerCollect customerCollect);

    /**
     * 修改会员收藏
     * 
     * @param customerCollect 会员收藏
     * @return 结果
     */
    public int updateCustomerCollect(CustomerCollect customerCollect);

    /**
     * 删除会员收藏
     * 
     * @param customerCollectId 会员收藏主键
     * @return 结果
     */
    public int deleteCustomerCollectByCustomerCollectId(Long customerCollectId);

    /**
     * 批量删除会员收藏
     * 
     * @param customerCollectIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCustomerCollectByCustomerCollectIds(Long[] customerCollectIds);
}
